#if !defined LIBRARIAN_H
#define LIBRARIAN_H

#include "User.h"
#include <string>
class Librarian:public User{
public:
	Librarian(string loginName="", string loginPassword="",string libNum="", string libName="", string libTelephone="");
	Librarian(const Librarian &lib);
	~Librarian();
	void setNum(string libNum);
	void setName(string libName);
	void setTelephone(string libTelephone);
	string getNum();
	string getName();
	string getTelephone();
	void readFromFile(fstream &);
	void writeToFile(fstream &) const;
	friend istream& operator>>(istream &istrm, Librarian &librarian);
	friend ostream& operator<<(ostream &ostrm,const Librarian &librarian);

private:
	string libNum;
	string libName;
	string libTelephone;
};
#endif // LIBRARIAN_H
